package tack12;
/**
 * 人类
 */
public class Human {
    /*** 名字*/
    private String name;
    /*** 等级*/
    private double level;

    /*** 构造器*/
    public Human(){}
    public Human(String name ,double level){
        this.name = name;
        this.level = level;
    }

    /*** 自我简绍*/
    public void selfIntroduce(){
        System.out.println("我是"+ name +"   现在"+level+"级" );
    }

    /*** 查看调用* @return*/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getLevel() {
        return level;
    }

    public void setLevel(double level) {
        this.level = level;
    }
}
